package com.eattravel.service.impl;

import com.eattravel.mapper.HomeMapper;
import com.eattravel.pojo.Home;
import com.eattravel.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author glong
 * @date 2019/9/20 18:14
 * 描述：
 */
@Service
public class HomeServiceImpl implements HomeService {

    @Autowired
    private HomeMapper homeMapper;

    @Override
    public List<Home> selectAll() {
        return homeMapper.selectAll();
    }

}
